MenuItem.Enabled Property

Syntax

Enabled as Boolean


Indicates whether or not the menu item is enabled. This property can be set only from an EnableMenuItems event handler.

You can enable a menu item either by assigning the Enabled property a value of True or by calling the Enable method.